package com.zhiyun.mapper;

import com.zhiyun.domain.Examination;

import java.util.List;

public interface ExaminationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Examination record);

    Examination selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(Examination record);

    List<Examination> selectByCourseId(Integer courseId);

    List<Examination> selectByCourseIdNotStart(Integer courseId);

    List<Examination> selectByCourseIdNow(Integer courseId);

    List<Examination> selectByCourseIdEnd(Integer courseId);

    Examination selectById(Integer examinationId);
}